/*
 * WebSocketRequestHandler.h
 *
 *  Created on: Apr 6, 2017
 *      Author: zhangjf
 */

#ifndef SRC_WEBSOCKETREQUESTHANDLER_H_
#define SRC_WEBSOCKETREQUESTHANDLER_H_

#include <Poco/Net/HTTPRequestHandler.h>
#include <Poco/Net/HTTPServerRequest.h>
#include <Poco/Net/HTTPServerResponse.h>

using namespace Poco::Net;

class WebSocketRequestHandler: public HTTPRequestHandler
{
public:
	WebSocketRequestHandler();
	virtual ~WebSocketRequestHandler();

	void handleRequest(HTTPServerRequest& request, HTTPServerResponse& response);
};

#endif /* SRC_WEBSOCKETREQUESTHANDLER_H_ */
